//
//  BuaatRSA.h
//  MemberProject
//
//  Created by mac on 15/7/15.
//  Copyright (c) 2015年 MAC OS X. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface BuaatRSA : NSObject
@property(nonatomic) int padding;

- (void)setPublicKey:(NSString *)publicKey;

- (void)setPrivateKey:(NSString *)privateKey;

- (NSString *)encryptStrWithPublicKey:(NSString *)str;

- (NSString *)encryptStrWithPrivateKey:(NSString *)str;

- (NSString *)decryptStrWithPublicKey:(NSString *)str;

- (NSString *)decryptStrWithPrivateKey:(NSString *)str;
@end
